import { Point } from "@angular/cdk/drag-drop";
import { Type } from "@angular/core";

export class WindowDto {
    id: number = 0;
    title: string = "";
    url: string = "";
    width: string = "0";
    height: string = "0";
    left: number = 0;
    top: number = 0;
    zIndex: number = 0;
    position: Point = { x: 0, y: 0 };
    isHide: boolean = false;
    isSizeMax: boolean = false; 

    taskbarSort:number = 0;
    isActive: boolean = true;
    iconUrl?: string;
}


export type WindowConfigDto = { 
    width?: string, 
    height?: string, 
    left?: number, 
    top?: number,
    title?: string,
    iconUrl?: string,
}